package main.java.com.silence.service;

import com.silence.pojo.User;
import com.silence.vo.LoginUser;

/**
 * Author: silence
 * Date: 17-5-26
 */
public interface IUserService {
    User findUserById(int id);

    int register(User user);

    boolean activate(String code);

    User findUserByEmail(String email);

    int login(LoginUser user);
}
